<?php
/* 
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
class Marketplace_Component_Block_Media_VideoDisplay extends Phpfox_Component
{
    public function process(){
        $iId = $this->getParam("listing_id");
        $sDisplayType = $this->getParam("display_type","small");
        
        $aVideo = Phpfox::getService("marketplace.store.video")->getVideo($iId);
        
        $this->template()->assign(array(
            'aListingVideo' => $aVideo,
            'sDisplayType' => $sDisplayType
        ));
    }
}

?>
